$fontsize = 6rem
$offset = -2rem // 给他向上移一点，好看一点

.current
  position absolute
  top 50%
  margin-top ($offset - $fontsize / 2)
  left 0
  right 0
  text-align center

  z-index 10
  font-size $fontsize

  transition all 0.2s
  &.exit_to
    transform translateY(2rem) scale(0)
    opacity 0
  &.enter
    transform translateY(-2rem) scale(2)
    opacity 0